package com.smarttest.portal.service;

import java.io.IOException;
import java.util.Set;

import javax.servlet.http.HttpServletResponse;

import com.alibaba.fastjson.JSONArray;

public interface ExportFileService {
	void init(HttpServletResponse response) throws IOException;

	void close(HttpServletResponse response) throws IOException;

	void writeTitle(String[] titleSet, HttpServletResponse response) throws IOException;

	void write(String[] titleSet, JSONArray jarr, HttpServletResponse response) throws IOException;
}
